# Tanım: GNS3 ağ simülatörü. Grafiksel kullanıcı arayüzü paketi.
# URL: https://github.com/GNS3/gns3-gui
# Paketçi: yasarciv67
# Gerekler: python3-setuptools python3-jsonschema gns3-converter python3-raven python3-psutil python3-qt5 python3-sip desktop-file-utils gns3-server dynamips  
# Grup: sistem

isim=gns3-gui
surum=2.1.20
devir=1

kaynak=(https://github.com/GNS3/$isim/archive/v$surum.tar.gz::$isim-$surum.tar.gz
        gns3.desktop)

derle() {
    cd $isim-$surum
    python3 setup.py build
	python3 setup.py install --root=$PKG --optimize=1
	install -Dm644 $SRC/gns3.desktop $PKG/usr/share/applications/gns3.desktop
	install -Dm644 resources/images/gns3_icon_256x256.png $PKG/usr/share/pixmaps/gns3.png
	install -Dm644 LICENSE $PKG/usr/share/licenses/$isim/LICENSE
}
